<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<script src="../views/static/common/jquery-3.3.1.min.js"></script>



<header>
    <div style="float:left;"><img src="../views/static/admin/img/tubiao.png" width="152" height="55" /></div>
    <div style="float: right">
        <span style="color: #969baa; font-size: 20px;padding-bottom: 10px">欢迎您，${sessionScope.nowUser}</span>
        <i  class="layui-icon  layui-anim layui-anim-rotate layui-anim-loop" style="font-size: 30px; color: #969baa;">&#xe614;</i>&nbsp; &nbsp; &nbsp;
    </div>
</header>


<%
    HttpSession s = request.getSession();
    String nowUser = (String) s.getAttribute("nowUser");
    if (nowUser == null || nowUser.isEmpty()) {
        response.getWriter().write("<script>location.href='/login.jsp';</script>");
        return;
    }

%>

